rotate an array by k steps

visit shbcf.ru